package com.sense.kukoo.common.firebase

import android.os.Bundle
import com.google.firebase.analytics.FirebaseAnalytics
import com.sense.kukoo.common.utils.ApplicationContext

object FirebaseAnalyticsManager {

    private val mFirebase: FirebaseAnalytics by lazy(mode = LazyThreadSafetyMode.SYNCHRONIZED) {
        FirebaseAnalytics.getInstance(ApplicationContext.instance())
    }

    fun logEvent(name:String , bundle:Bundle){
        mFirebase.logEvent(name, bundle)
    }

}